package com.db.stexchem.message;

public class Message {
  
  private MessageType messageType;
  private Data data;
  
  public Message() {
  }

  public Message(MessageType messageType, Data data) {
    this.messageType = messageType;
    this.data = data;
  }
  
  public MessageType getMessageType() {
    return messageType;
  }

  public void setMessageType(MessageType messageType) {
    this.messageType = messageType;
  }

  public Data getData() {
    return data;
  }

  public void setData(Data data) {
    this.data = data;
  }
  
}
